All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.sun.java.swing.AbstractListModel | +----com.sun.java.swing.DefaultListModel
Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
public DefaultListModel()
public int getSize()
public Object getElementAt(int index)
public void copyInto(Object anArray[])
public void trimToSize()
public void ensureCapacity(int minCapacity)
public void setSize(int newSize)
public int capacity()
public int size()
public boolean isEmpty()
public Enumeration elements()
public boolean contains(Object elem)
public int indexOf(Object elem)
public int indexOf(Object elem, int index)
public int lastIndexOf(Object elem)
public int lastIndexOf(Object elem, int index)
public Object elementAt(int index)
public Object firstElement()
public Object lastElement()
public void setElementAt(Object obj, int index)
public void removeElementAt(int index)
public void insertElementAt(Object obj, int index)
public void addElement(Object obj)
public boolean removeElement(Object obj)
public void removeAllElements()
public String toString()
public Object[] toArray()
public Object get(int index)
public Object set(int index, Object element)
public void add(int index, Object element)
public Object remove(int index)
public void clear()
public void removeRange(int fromIndex, int toIndex)
All Packages Class Hierarchy This Package Previous Next Index